package cn.edu.ren.dao;

import cn.edu.ren.pojo.Person;

import java.util.List;

/**
 * @PackageName: cn.edu.ren.dao
 * @ClassName: IPersonDao
 * @Description:
 * @author: RZS
 * @date: 2021/5/19  21:43
 */
public interface IPersonDao {
    List<Person> selectAll();
    Person selectById(Integer id);
    void insert(Person person);
    void updateUsernameById(String username, Integer id);
    void deleteById(Integer id);
}
